/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86156
 * Date: 2022-03-13
 * Time: 8:49
 */
public class TestDemo {
    public static void main(String[] args) {
        LinkedList linkedList = new LinkedList();
        linkedList.push_font(1);
        linkedList.display();
        linkedList.push_font(5);
        linkedList.display();
        linkedList.push_back(3);
        linkedList.display();
        linkedList.push_back(9);
        linkedList.display();
        linkedList.push_font(9);
        linkedList.display();
        linkedList.push_back(8);
        linkedList.display();
        linkedList.insert(3, 6);
        linkedList.display();
        linkedList.removeByVal(1);
        linkedList.display();
        linkedList.removeByIndex(4);
        linkedList.display();
        linkedList.removeALLByVal(9);
        linkedList.display();
        System.out.println(linkedList.containsVal(11));
        linkedList.pop_font();
        linkedList.display();
        linkedList.pop_back();
        linkedList.display();
        linkedList.removeByIndex(11);
        linkedList.removeByVal(18);
        System.out.println(linkedList.size());
        linkedList.clear();
        System.out.println(linkedList.size());
        linkedList.pop_back();
    }
}

